apache / incubator-hugegraph-doc

HugeGraph Website and Doc
https://hugegraph.apache.org/
Apache License 2.0
66 stars 100 forks source link

[Question] Swagger-UI requires login/auth but does not have this option (fixed) #304

Closed Zhang88665 closed 10 months ago

Zhang88665 commented 11 months ago

Problem Type (问题类型)

None

Your Question (问题描述)

I have configured user authentication for hugegraph, but the Swagger interface cannot be opened, prompting 401. Where should I enter my username and password?

image

imbajin commented 11 months ago

Which server version do u use? Auth was supported in latest master code (not 1.0.0, ready in docker latest images or 1.2.0)

@SunnyBoy-WYH Could take a look on it later? (if there are further questions)

Zhang88665 commented 11 months ago

Version 1.0.0, deployed locally using the tar package

imbajin commented 11 months ago

Version 1.0.0, deployed locally using the tar package

refer https://github.com/apache/incubator-hugegraph/pull/2360 (not supported auth with V1.0)

github-actions[bot] commented 11 months ago

Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label

imbajin commented 10 months ago

@Zhang88665 already supported in 1.2.0 (u could try docker image to use it)

image

2 ways:

image