-
Notifications
You must be signed in to change notification settings - Fork 152
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
Authorization input box is not showing in rest-hapi API swagger UI #77
Comments
hi @shashwat78, you have to define an authorization strategy and then set |
Hi,
i am using 'hapi-auth-jwt2'
link is https://github.com/dwyl/hapi-auth-jwt2
what i need to do now
…On Tue, Nov 14, 2017 at 10:42 AM, Justin Headley ***@***.***> wrote:
hi @shashwat78 <https://github.com/shashwat78>, you have to define an
authorization strategy and then set RestHapi.config.authStrategy to the
name of the strategy that you have defined. You can check out appy
<https://github.com/JKHeadley/appy> for an example.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#77 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYuiImyOxuTg-ucdcV1zBPK58W_pqResks5s2SE_gaJpZM4QbvAS>
.
--
[image: Oodles Technologies Pvt Ltd] <http://www.oodlestechnologies.com/>
*Shashwat Gupta ,* Associate Consultant Development, Oodles Technologies
Pvt Ltd
Phone: +91 124 4368 395
Mobile: +91 8826363799
Email: shashwat.gupta@oodlestechnologies.com
<oodles.tech@oodlestechnologies.com>
Website: http://www.oodlestechnologies.com/
Skype: shashwat.gupta
Address: Unit No 951-955 , Tower B1, Spaze I-Tech Park , Sector 49 , Sohna
Road , Gurgaon , India , 122001
[image: Twitter] <https://twitter.com/oodlestech> [image: Facebook]
<https://www.facebook.com/OodlesTech> [image: Google +]
<https://plus.google.com/+Oodlestechnologies/posts> [image: LinkedIn]
<https://www.linkedin.com/company/oodles-technologies-pvt-ltd>
--
This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended recipient(s).
Any unauthorized disclosure, dissemination, distribution, copying or the
taking of any action in reliance on the information herein is prohibited.
E-mails are not secure and cannot be guaranteed to be error free as they
can be intercepted, amended, or contain viruses. Anyone who communicates
with us by e-mail is deemed to have accepted these risks. Oodles
Technologies is not responsible for errors or omissions in this message and
denies any responsibility for any damage arising from the use of e-mail.
Any opinion and other statement contained in this message and any
attachment are solely those of the author and do not necessarily represent
those of the company
|
hapi-auth-jwt2 is your authentication scheme. You now have to define an authentication strategy to implement the hapi-auth-jwt2 scheme. You can see an example here or in the hapi-auth-jwt2 docs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
my package.json is look like
all the api is creating automatically..so i don`t have any idea how can set Authorization in every api which is created automatically
i am using "rest-hapi": "0.23.2"
please give me solution
The text was updated successfully, but these errors were encountered: