1"use strict";(self.webpackChunkKatalon_Docs=self.webpackChunkKatalon_Docs||[]).push([[1427],{28453:(t,e,n)=>{n.d(e,{R:()=>s,x:()=>r});var a=n(96540);const i={},o=a.createContext(i);function s(t){const e=a.useContext(o);return a.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function r(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:s(t.components),a.createElement(o.Provider,{value:e},t.children)}},90683:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>c,contentTitle:()=>r,default:()=>h,frontMatter:()=>s,metadata:()=>a,toc:()=>u});const a=JSON.parse('{"id":"test-objects/api-test-objects/authorization/bearer-authentication-in-katalon-studio","title":"Bearer authentication in Katalon Studio","description":"What is Bearer authentication?","source":"@site/docs/katalon-studio/test-objects/api-test-objects/authorization/bearer-authentication-in-katalon-studio.md","sourceDirName":"test-objects/api-test-objects/authorization","slug":"/test-objects/api-test-objects/authorization/bearer-authentication-in-katalon-studio","permalink":"/katalon-studio/test-objects/api-test-objects/authorization/bearer-authentication-in-katalon-studio","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1761560972000,"frontMatter":{"title":"Bearer authentication in Katalon Studio"},"sidebar":"katalon-studio","previous":{"title":"Basic Authentication in Katalon Studio","permalink":"/katalon-studio/test-objects/api-test-objects/authorization/basic-authentication-in-katalon-studio"},"next":{"title":"Digest authentication in Katalon Studio","permalink":"/katalon-studio/test-objects/api-test-objects/authorization/digest-authentication-in-katalon-studio"}}');var i=n(74848),o=n(28453);const s={title:"Bearer authentication in Katalon Studio"},r=void 0,c={},u=[{value:"What is Bearer authentication?",id:"what-is-bearer-authentication",level:2},{value:"Use bearer authentication in Katalon Studio",id:"use-bearer-authentication-in-katalon-studio",level:2}];function l(t){const e={h2:"h2",li:"li",ol:"ol",p:"p",...(0,o.R)(),...t.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e.h2,{id:"what-is-bearer-authentication",children:"What is Bearer authentication?"}),"\n",(0,i.jsx)(e.p,{children:"Bearer authentication is an HTTP authentication methodology that uses security tokens called bearer tokens. The bearer token is a cryptic string generated by the server in response to a login request. When making requests to protected resources, the client must send this token in the authorization header."}),"\n",(0,i.jsx)(e.p,{children:"OAuth 1.0 and OAuth 2.0 authorization can generate bearer tokens, but if you already have the token, you can use bearer authentication directly in Katalon Studio."}),"\n",(0,i.jsx)(e.h2,{id:"use-bearer-authentication-in-katalon-studio",children:"Use bearer authentication in Katalon Studio"}),"\n",(0,i.jsxs)(e.ol,{children:["\n",(0,i.jsx)(e.li,{children:"Open a web service test object, then navigate to the Authorization tab."}),"\n",(0,i.jsx)(e.li,{children:"In the dropdown list of Type, choose Bearer."}),"\n"]}),"\n",(0,i.jsx)("img",{alt:"Authorization dropdown list",src:"/9716cb90-22b2-11ed-9930-0242fe3e4a3f/ks-840-authorization-type.png",width:"500px"}),"\n",(0,i.jsxs)(e.ol,{start:"3",children:["\n",(0,i.jsx)(e.li,{children:"Enter your bearer token."}),"\n"]}),"\n",(0,i.jsx)("img",{alt:"add bearer token",src:"/97156c00-22b2-11ed-9930-0242fe3e4a3f/ks-840-add-token.png",width:"500px"}),"\n",(0,i.jsxs)(e.ol,{start:"4",children:["\n",(0,i.jsx)(e.li,{children:"To use this bearer authentication, click Update to HTTP Header."}),"\n"]}),"\n",(0,i.jsx)("img",{alt:"bearer token in HTTP header",src:"/9714cfc0-22b2-11ed-9930-0242fe3e4a3f/ks-840-http-header.png",width:"500px"})]})}function h(t={}){const{wrapper:e}={...(0,o.R)(),...t.components};return e?(0,i.jsx)(e,{...t,children:(0,i.jsx)(l,{...t})}):l(t)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.