signin without using widget Skip to main content
https://support.okta.com/help/answers?id=9062a000000qujfqac&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Ammadul HaqAmmadul Haq 

signin without using widget

Hi,

I am using material in my application so using OktaSigninWidget doesn't seem to be the way to go since widget uses bootstrap (and customizing widget to look like material and also to remove certain links like I need to remove 'Need help' and just display 'Forgot Password' link are not easy and straightforward unless there is a way to do that.) So I have decided to use Authentication Apis and easy style ui with material. I found a sample (https://developer.okta.com/blog/2017/04/17/angular-authentication-with-oidc?&_ga=1.231820378.41252354.1512408280#create-open-id-connect-app) to signin without widget. It uses @okta/okta-auth-js. But there are no type definitions for this module so when I try to import it in my app its doesn't resolve it.
- Where can I find its type definitions?  
- Do you also have signin widget with material design?
- I also need to add password recovery through email, is there also some sample available to do that using authentication apis?

Looking forward for response.
Thanks!
Emilian AldeaEmilian Aldea (Okta, Inc.)
Hello Ammadul Haq,
 Emilian here with Okta's Customer Support Team, thank you for reaching out to us. I have attached below a couple of examples from github that might help answer your questions:
Sign In widget example:
https://github.com/okta/okta.github.io/blob/99eb2b93c2c13c0b19aa52184901d0cd212d4f84/_source/_posts/2017-03-27-angular-okta-sign-in-widget.md
Other Angular Examples:
https://github.com/oktadeveloper/okta-angular-openid-connect-example/pull/2/files

Regarding Password Recovery APIs, please visit our API Reference article from our Developer page (link below):

https://developer.okta.com/docs/api/resources/apps.html#application-lifecycle-operations

Hope this helps! 
If you have further concerns towards this matter, feel free to open up a support ticket from Help and Support.

Thank You,

Emilian Aldea
Technical Support Engineer
Okta Global Customer Care