Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a 404 when hitting /good-beers #3

Open
brocktubre opened this issue Jun 7, 2017 · 3 comments
Open

Getting a 404 when hitting /good-beers #3

brocktubre opened this issue Jun 7, 2017 · 3 comments

Comments

@brocktubre
Copy link

I am at the point where I am hitting the end point http://localhost/good-beers and prompted with username and password. After entering in creditials, a 404 page not found is being displayed. Here is what httpie returns.

HTTP/1.1 404 
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Type: application/hal+json;charset=UTF-8
Date: Wed, 07 Jun 2017 14:23:14 GMT
Expires: 0
Pragma: no-cache
Set-Cookie: JSESSIONID=032570761EDD421A0B5B10F187A8DA73; Path=/; HttpOnly
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block

{
    "error": "Not Found",
    "message": "No message available",
    "path": "/good-beers",
    "status": 404,
    "timestamp": 1496845394241
}

I should be returned a list of the beers. Thanks in advance!

@mraible
Copy link
Contributor

mraible commented Jun 7, 2017

Hello @brocktubre. Do you already have a Stormpath account? If so, things should work. If not, I have a tutorial that uses Okta (because Stormpath joined forces with Okta back in February).

https://github.com/oktadeveloper/okta-spring-boot-angular-pwa-example/blob/master/TUTORIAL.md

Please visit the Migration FAQs for a detailed look at what this means for Stormpath users.

@brocktubre
Copy link
Author

Yes, I already have a Strompath account and the user is registered within a new application I created. Since the app is brand new, I would like to use the most up to date tutorial (Stormpath/Okta user authentication).

@mraible
Copy link
Contributor

mraible commented Jun 7, 2017

If you're planning on migrate to Okta, I'd suggest using the Okta version I posted above. It shows how to use the Stormpath SDKs with Okta, so the code is very similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants