
c9odb (c9odb) asked a question.
We are trying to integrate the Okta login for the angular application(SPA). The angular application uses the API to fetch the information. API's are written in Python.
How the application should work after integration with Okta
- User logins using the credentials.
- Angular will receive the access token from Okta.
- Angular will send the access token to the python backend.
- After receiving the token python must validate the token with Okta Resource Server
- If the token is valid then the API must return the data to Angular.
Problems Facing
- Angular is not receiving the callback from Okta. -> Sample App works fine but not with our Angular PWA
- Okta Resource Server requires a client_secret -> There is no client_secret in Okta SPA
- There is no proper documentation regarding the SPA and backend resource server -> Where do I get the documentation

This is Ciprian with Okta Support,
In order to grab more information about your custom application I will suggest to open a ticket with our developer team.
https://support.okta.com/help/s/
https://developer.okta.com/code/angular/#recommended-guides
https://developer.okta.com/code/angular/
https://developer.okta.com/docs/guides/implement-implicit/overview/