Reputation: 11
I followed the steps on JHIPSTER to setup okta. When I try to login I always get the following output:
Login with OAuth 2.0
[invalid_id_token]
https://dev-992900.okta.com/oauth2/default
I cant resolve it. Additionally, I would prefer to be using a google identity provider. I am not sure how to setup the google identity provider, and additionally I cant even get the login setup correctly.
Please advise how to find answer for issue 1.
Deleted and re setup the configuration as per JHIPSTER documentation for okta setup. I tried adding my email to the groups, and tried it without a user added, with a user added.
Login with OAuth 2.0 [invalid_id_token] https://dev-992900.okta.com/oauth2/default
security:
oauth2:
client:
provider:
oidc:
issuer-uri: https://dev-992900.okta.com/oauth2/default
registration:
oidc:
client-id: 0oa1aykbfvUKOJN4S357
client-secret: gpuNPCPBQWl_JJLAMZh6fFlc1XyuBoCTtKtm2JYD
I followed okta tutorial here: https://www.jhipster.tech/security/ and it does not work. Additionally I would prefer to use google identity service.
Upvotes: 0
Views: 439
Reputation: 11
Alright, this is totally awesome, infuriating, and what drives me crazy. I found the issue which is now resolved. I set my windows 10 pc to automatic time. I cannot believe it was that, but I guess thats why token was invalid. It was the correct time but it wasnt set to automatic time sync. I had automatic timezone set though. I literally spent weeks stalled because of this :|
Upvotes: 1